home *** CD-ROM | disk | FTP | other *** search
/ Internet Surfer 2.0 / Internet Surfer 2.0 (Wayzata Technology) (1996).iso / pc / textfile / faqs / aux_faq / part2 < prev   
Encoding:
Internet Message Format  |  1992-12-26  |  36.6 KB

  1. Xref: bloom-picayune.mit.edu comp.unix.aux:10161 news.answers:4737
  2. Newsgroups: comp.unix.aux,news.answers
  3. Path: bloom-picayune.mit.edu!enterpoop.mit.edu!ira.uka.de!gmd.de!jvnc.net!darwin.sura.net!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!nsisrv!jagubox!jim
  4. From: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  5. Subject: Apple A/UX FAQ List (2/2)
  6. Message-ID: <1336@jagubox.gsfc.nasa.gov>
  7. Followup-To: comp.unix.aux
  8. Summary: Latest posting of FAQ for A/UX
  9. Keywords: FAQ A/UX
  10. Lines: 829
  11. Sender: usenet@nsisrv.gsfc.nasa.gov (Usenet)
  12. Supersedes: <1311@jagubox.gsfc.nasa.gov>
  13. Nntp-Posting-Host: jagubox.gsfc.nasa.gov
  14. Reply-To: jim@jagubox.gsfc.nasa.gov (Jim Jagielski)
  15. Organization: NASA/Goddard Space Flight Center
  16. References: <1335@jagubox.gsfc.nasa.gov>
  17. Date: Mon, 21 Dec 1992 16:31:28 GMT
  18. Approved: news-answers-request@MIT.Edu
  19. Expires: Wed, 6 Jan 1993 00:00:00 GMT
  20.  
  21. Archive-name: aux-faq/part2
  22. Last-modified: Mon Dec 21 11:29:16 EST 1992
  23.  
  24.          This is the Frequently Asked Question (FAQ) list for A/UX 3.0
  25.  
  26. \\\\\\\\\\\\\\\\\\\\\\ START OF PART 2 OF 2 //////////////////////
  27.  
  28. ===
  29. 20)  My MacOS partition mounts fine under MacOS but it doesn't show up
  30.      under A/UX... Why?
  31.  
  32. Whether or not a Mac partition mounts under A/UX depends on a number of
  33. factors (possibly even including the phases of the moon and the color socks
  34. you happen to be wearing)... Necessary conditions for a partition to mount are:
  35.  
  36.     1. The disk MUST be partitioned using the "new" partitioning scheme
  37.        detailed in Inside Macintosh V. There is still plenty of disk
  38.        software out there that uses the "old" scheme and this drives will
  39.        not mount under A/UX. Generic disk formatters that use the "new"
  40.        scheme include SilverLining and FWB Hard Disk Toolkit. Most major
  41.        disk vendors supply A/UX compatible formatting s/w.
  42.  
  43.     2. The partition must mount under MacOS BEFORE A/UX is booted. A/UX
  44.        only tries to mount partitions that were already when it was booted.
  45.        So, if you use an application to boot A/UX and this application runs
  46.        before a partition is mounted, A/UX won't mount it for you. If you
  47.        have a removable drive (such as SyQuest), you must insert the disk
  48.        before you boot A/UX... this means you can't swap cartridges under
  49.        A/UX.
  50.  
  51. It's possible that playing with 'pname' before starting the MacOS environment
  52. may make more MacOS partitions readable...
  53.  
  54. ===
  55. 21)  I've ported Elm (or other mail reader) and it doesn't seem to work.
  56.      Why?
  57.  
  58. It seems most likely that the reason is because they attempt to use a different
  59. file locking scheme that /bin/mail does. Pre-3.0 versions of mail used 'flock'
  60. style file locking. 3.0 now uses the '.lock' scheme for mail file locking.
  61. Elm 2.4.X requires that both flock and .lock be enabled. Elm 2.3.X requires
  62. _only_ .lock locking.
  63. ===
  64. 22)  What 3-button mice work under A/UX (and X)?
  65.  
  66. The Gravis SuperMouse is a 3-button mechanical mouse that is completely
  67. configurable and compatible with A/UX. Mouse System's A-3 mouse is compatible
  68. but is "hard-wired" configured for A/UX as: Left Button = Actual Mouse Button;
  69. Middle Button = Left Arrow; Right Button = Right Arrow. There is also the
  70. Logitech MouseMan. The general agreement is that the SuperMouse is your
  71. best bet... At present, the Gravis SuperMouse, however, is not shipping
  72. due to some technical problem.
  73.  
  74. Please note that A/UX 2 & 3 only support a subset of the ADB Manager. Thus
  75. there are a few ADB devices that may not work under A/UX.
  76.  
  77. ===
  78. 23)  How come when I do a 'df' as a regular user, it shows me a different
  79.      number of free blocks compared to when I run it as 'root'?
  80.  
  81. One of the details about the BSD Fast File System is that it sets aside 10% of
  82. the available disk space (by default... this value can be changed by using
  83. the 'tunefs' command) and makes it unavailable to regular users. This
  84. prevents 2 things: filling up a file system and destroying performance by
  85. having a "too full" file system. 'root', however, does have access to this
  86. "extra" disk space, hence the difference in the numbers reported by df between
  87. 'root' and "regular joe".
  88.  
  89. Please note that if you used HD Setup to create the partitions (or your
  90. A/UX came preinstalled), then the "set aside" value for these file systems
  91. is 5%, not the default of 10%... This was simply to give users more space.
  92. Reducing this value beyond 5% is Not A Good Idea.
  93.  
  94. ===
  95. 24)  Does A/UX LocalTalk support IP?
  96.  
  97. Nope... not at all. Maybe 3.0.1...
  98.  
  99. ===
  100. 25)  How do I get MPW 3.1 to work? It hangs my system...
  101.  
  102. MPW 3.1 doesn't work under A|UX 2.0 although 3.2 does. In the meantime,
  103. you can make 3.1 work by breaking into MacsBug when it's hung and entering:
  104.  
  105.     pc=pc+2;g
  106.  
  107. See Q#31 for info about entering MacsBug...
  108.  
  109. ===
  110. 26)  Can I refer to a file on my Mac system from within A/UX?
  111.  
  112. A/UX's 'Finder' mode is the only way (currently) to access both file systems.
  113. You could write a hybrid application that could attach to the Finder world (a
  114. la, CommandShell and cmdo which can "see" both file systems), but you can't
  115. access HFS volumes from the A/UX kernel directly. In a similar vein, you can't
  116. 'mount' an HFS volume on an A/UX inode.
  117.  
  118. ===
  119. 27)  How can I adjust the amount of virtual memory available Finder uses?
  120.  
  121. The default behavior under 3.0 is to set the amount of MacOS memory equal
  122. to the total memory you have if possible (see below about 24-bit mode).
  123. If you are low on swap, this can cause some strange behavior (although
  124. you most probably won't get a panic message). To "fix" this, you may want
  125. to decrease the memory size.
  126.  
  127. The easiest way is to use the 'TBMEMORY' environment variable. You can set
  128. it's "value" equal to the amount of memory you wish to use. For example:
  129.  
  130.     set TBMEMORY=10m         (in .profile for ksh or sh or /etc/profile)
  131.        -or-
  132.     setenv TBMEMORY 10m      (in .login for csh)
  133.  
  134. configures Finder for 10M.
  135.  
  136. You can also edit /mac/bin/mac32|mac24 (or .mac32|.mac24 if you are using this
  137. method) to call 'startmac' with the memory size you want using the "-m" option.
  138. For example:
  139.  
  140.     /mac/bin/startmac -m 8m > $SMLOGFILE 2>&1 &
  141.                          -------
  142.  
  143. in (.)mac32|(.)mac24 will configure an 8M environment.
  144.  
  145. Please note that under the 24-bit mode (mac24), you can only access a maximum
  146. of 8MB of RAM. It won't complain if you try to setup more, it just won't
  147. do it. Furthermore, if you actually have more than 8MB (say 12), the "About
  148. This Macintosh" window will show "Built-in Memory:  12,288 L; Total Memory:
  149. 8,192 K".
  150.  
  151. ===
  152. 28)  Is it worth getting a cache card for the IIci?
  153.  
  154. Absolutely! The card makes an amazing difference in performance. However, this
  155. performance increase is reduced when an external monitor is used. For more
  156. information about extensive benchmarking with the IIci and cache cards, you
  157. can snag the benchmarking results (which were generated by William Roberts)
  158. via anon-ftp on redstar.dcs.qmw.ac.uk in archive/papers.
  159.  
  160. ===
  161. 29)  How do I keep command lines that I edit with "backspace" from erasing
  162.      the prompt?
  163.  
  164. This behavior is due to the tty driver under A/UX. The BSD tty driver (which
  165. A/UX doesn't use) handles this, whereas the SysV driver doesn't. If you are
  166. running 'ksh' then you can "set -o viraw" to prevent this from happening.
  167. As far as I know, there are no work-arounds for 'sh' or 'csh'. ('tcsh' and
  168. 'bash' do not suffer from this problem... )
  169.  
  170. ===
  171. 30)  When I try to mail something, I get the following error message:
  172.      "Cannot read frozen config file: not a typewriter". What's wrong?
  173.  
  174. This message is produced by sendmail (/usr/lib/sendmail) when it's frozen
  175. configuration file (/usr/lib/sendmail.fc) is unusable (as it is in the A/UX
  176. distribution which has it as a 0-byte file). To create a "new" frozen file
  177. of your present sendmail.cf file (assuming that it's good), type:
  178.  
  179.     $ /usr/lib/sendmail -bz
  180.  
  181. (the sendmail daemon, if it exists, must be killed 1st).
  182.  
  183. ===
  184. 31a)  I have MacsBug installed. How can I trigger it?
  185.         -- or --
  186. 31b)  Sometimes my MultiFinder environment (and/or CommandShell) freezes
  187.       up; how can I unfreeze it? Should I hit the Interrupt switch?
  188.  
  189. The "Command-Control-e" keypress will kill the current MultiFinder environment
  190. and "unfreeze" (and kill) your MultiFinder|CommandShell. Depending on
  191. whether your session-type is Console Mode or 32|24-Bit, you will either get
  192. returned to the console or get returned to the Login screen. You should _NOT_
  193. press the Interrupt switch since this puts you into A/UX's kernel debugger.
  194. If you have MacsBug installed (which is recommended) then you can press
  195. "Command-Control-i" to enter it. This may enable you to clean some things up
  196. before the MultiFinder environment is blasted (even just using 'rs' under
  197. MacsBug helps...). If MacsBug is _not_ installed, the "C-C-i" behaves almost
  198. like a "C-C-e" except that it appears that A/UX doesn't need to "rebuild" your
  199. icon/Desktop "environment" the next time Mac-mode is entered.
  200.  
  201. ===
  202. 32)  Is there an archive of comp.unix.aux out there somewhere?
  203.  
  204. Yes, it's located on aux.support.apple.com under archives/comp.unix.aux.
  205.  
  206. ===
  207. 33)  My site is not upgraded to EtherTalk Phase 2 yet... can I use Phase 1
  208.      under A/UX?
  209.  
  210. A/UX only supports EtherTalk Phase 2. Upgrading to Phase 2 is recommended for
  211. a variety of reasons, but most importantly to ensure compatibility with
  212. new products from Apple and developers (of course, the added features over
  213. Phase 1 are nice too :).
  214.  
  215. ===
  216. 34)  What languages are available for A/UX?
  217.  
  218. A/UX comes with a C compiler ('cc'), a FORTRAN-77 compiler ('f77') as
  219. well as an assembler ('as'), SNOBOL ('sno') and a kinda-basic interpreter
  220. ('bs'). 'cc' is a nice, stable, if not-too-quick compiler. 'f77' is a
  221. true FORTRAN-77 compiler and appears quite workable. I've not used 'sno'
  222. (I couldn't recall how to program in SNOBOL if my life depended on it :)
  223. or 'bs'.
  224.  
  225. If you are doing any work in C, then it would be well worth it to get a
  226. copy of the GNU C compiler ('gcc') (see Q&A #9). gcc is K&R and ANSI
  227. compatible so if you are doing ANSI work you'll need it. Apple also has an
  228. ANSI C compiler ('c89') that you can buy. It's available on the "A/UX
  229. Developer's Toolkit CD" from APDA. There is also at least one other
  230. 3rd-party C compiler out there, but I can't recall it's name right
  231. now. gcc is free; c89 runs about $800. Both include C++ capabilities.
  232.  
  233. There are also 2 very good 3rd-party FORTRAN compilers: NKR FORTRAN
  234. and Absoft MacFORTRAN II. In my opinion, MacFORTRAN II is the better
  235. product... it has finer compiler control, a wide number of compatibility
  236. options (such as VAX FORTRAN) and excellent speed. If you do order
  237. MFII, be _sure_ to get the A/UX version. They also sell an MPW version
  238. that will work under A/UX but it's run under, you guessed it, MPW.
  239. The A/UX version is a true "Unix" compiler and it's optimized for A/UX.
  240. Both MFII and NKR FORTRAN run about $500-$600.
  241.  
  242. Oasys sells 3 compiler packages: C, C++ and FORTRAN. All the compilers
  243. are based on the GreenHills compilers which are known to be robust and
  244. fast. However, the Oasys packages are expensive, running about $2000
  245. per language (although you do get assemblers and linker/loaders with
  246. the package). Unisoft used to distribute their "Optimizing Compilers"
  247. (FORTRAN and C) for A/UX, but they are no longer available... Pity,
  248. because they also were based on GreenHills and were quite nice.
  249.  
  250. At present, I know of no true Pascal compilers for A/UX.
  251.  
  252. Finally, if you are doing program development, then you'll need a
  253. good debugger. As described above in "List of ports...", Thomas Eberhardt
  254. (thomas@mathematik.uni-Bremen.de) has ported gdb for A/UX, if you would
  255. prefer using something other than sdb or dbx, which are included with
  256. A/UX. If you are using FORTRAN, then Absoft also makes an excellent
  257. debugger which has been fine-tuned to work with MFII (it also does quite
  258. well with C); it's called FX. It has two interfaces, character and Motif,
  259. and is quite powerful.
  260.  
  261. ===
  262. 35)  How can I figure out the /etc/disktab entry for my hard disk?
  263.  
  264. Many hard disk applications will reveal the disk drive geometry for you:
  265. FWB Hard Disk ToolKit and SCSI Evaluator are very good (SilverLining is a bit
  266. wrong on the number of tracks... it includes spares). What you are really
  267. looking for are the total number of cylinders ('nc'), the number of sectors
  268. per track ('ns') and the number of tracks ('nt'). Also, I'm maintaining
  269. a list of /etc/disktab entries. If you have any, send it to me and I'll
  270. add them.
  271.  
  272. The file will be available via anon-ftp on jagubox.
  273. <<ED: I need _LOTS_ of entries>>
  274.  
  275. Just a note: the number of tracks ('nt') is equal to the number of heads.
  276.  
  277. ===
  278. 36)  How come I can't use color under X?
  279.  
  280. Apple's X (R4), and Thomas Eberhardt's X11R5 all support color. However,
  281. you must start the server with the "-screen 0 -depth 8" option (similar
  282. command with other screens if you have them). You can add these options to
  283. the command line or to your server's defaults file. You can also create a
  284. ".X11" file in your home directory which includes the line:
  285.  
  286.     X -screen 0 -depth 8
  287.  
  288. to get the same effect. Make sure that ".X11" is executable for this to
  289. work ("chmod 755 .X11").
  290.  
  291. ===
  292. 37)  What are Right-To-Copy and Right-To-Upgrade licenses?
  293.  
  294. If you have bought at least one copy of A/UX 3.0 and you have other Mac CPUs
  295. that you would like to install A/UX on, you don't need to reorder the entire
  296. product. You can order a Right-To-Copy license for each Mac you want to
  297. install A/UX on and then copy your A/UX to that Mac. This is cheaper than
  298. buying a whole new CD-ROM package. It's not right to copy unless you have a
  299. Right-To-Copy.
  300.  
  301. If those other Macs are already running A/UX, but an older version, then you
  302. need to order a Right-To-Upgrade license for each one you want to upgrade.
  303. As above, you then copy your 3.0 over to that Mac.
  304.  
  305. Note that in both cases, you must have purchased at least 1 copy of A/UX 3.0.
  306. The Right-To-* licenses just "authorize" you to then copy that over to other
  307. Macs.
  308.  
  309. The A/UX Essential Manual Set (that comes with A/UX 3.0) is not provided with
  310. either license. If you need more, you'll need to order them
  311.  
  312. ===
  313. 38)  How do I set up my Mac and A/UX to enable remote logins via a modem
  314.      on tty0?
  315.  
  316. First of all, you must edit /etc/inittab to start getty on tty0 using mo_2400:
  317.  
  318.     00:2:respawn:/etc/getty -u -t 60 tty0 mo_2400
  319.  
  320. Make sure that your modem is set to be quiet, to not return result codes and
  321. to not echo back. It must also reset on DTR being dropped ("atq1e0&d3" will
  322. achieve this for most Hayes-compatible modems except certain (all) USR modems).
  323. Your modem must also raise DCD on connection ("at&c1") in order to have
  324. Dialup security (i.e. when the line is closed, HangUp the process. This means
  325. that MODEM flow control must be specified in gettydefs). You then save these
  326. changes using the "at&w" sequence. Finally, to make it autoanswer, be sure to
  327. add "ats0=1&w".
  328.  
  329. Make sure that the modem cable is correctly configured (NOTE: This is
  330. for Dialup Security!):
  331.  
  332.     Mac       Modem
  333.     --------------------
  334.     1 (HskO)  20 (DTR)
  335.               4  (RTS)  <- yep... it gets sent to Pin 20 & 4
  336.     2 (HskI)  8  (DCD)
  337.     3 (TxD-)  2  (TxD)
  338.     4 (GDN)   7  (Sgnd)
  339.     5 (RxD-)  3  (RxD)
  340.     6 NO CONNECT
  341.     7 NO CONNECT
  342.     8 (RxD+)  7  (Sgnd)  <- this is right, it gets tied to Mac pin 4 too.
  343.  
  344. If you mess up pin 8 things can get so flaky that you'll never figure out
  345. what's going on. You see, by grounding pin 8, you make the modem port
  346. truly RS-232 compatible. If not grounded, the port will use the RS-422
  347. standard, which can cause lots of problems.
  348.  
  349. Please note that getty is the bidirectional version of getty, which is
  350. sometimes known as uugetty. Thus, you can have dial in and dial out
  351. at the same time on the same port. You should be using at least version
  352. 1.16 of HDB (see above: "stuff that's broken" and Q&A 15)
  353.  
  354. %%% For more info concerning modem|serial problems for A/UX, you really
  355.     should contact Alexis Rosen (alexis@panix.com)... He's really worked
  356.     this area... %%%
  357.  
  358. ===
  359. 39)  How come I can't used 'talk' with some of the other Unix boxes out
  360.      there, and they can't talk to me?
  361.  
  362. The reason why is because there are two versions of talk (and it's daemon
  363. talkd) out there. A/UX uses the BSD 4.2 version. Others use the 4.3 version.
  364. The two aren't compatible and don't even talk on the same port. If you try
  365. to talk to someone and all you get is a "Checking for invitation..." message
  366. then it's because the machine you're trying to access is using 4.3.
  367.  
  368. Steve Green (xrsbg@dirac.gsfc.nasa.gov) has ported the 4.3 versions of talk
  369. and talkd (now renamed ntalk and ntalkd for A/UX) to overcome this snag. You
  370. can have both versions available and running with no problems. The port is
  371. available via anon-ftp on jagubox.gsfc.nasa.gov.
  372.  
  373. ===
  374. 40)  I'm having trouble transfering files between A/UX and my MacOS disk...
  375.      Also, sometimes things get transfered fine, othertimes not. What's
  376.      going on?
  377.  
  378. If a file on the A/UX system has Type "TEXT", then when it is copied over to
  379. a MacOS disk, all 'newline' characters will be replaced by 'carriage
  380. returns'. Sometimes this is what you want (that is when the file is, in fact,
  381. a TEXT file). Othertimes it's not. Say for example you download a GIF file
  382. onto your A/UX disk. A/UX _might_ think it's a TEXT file. If you then copy
  383. it over to your MacOS disk and try to use Giffer on it, it won't work. That's
  384. because the 'nl's where changed, which is _not_ what you want. The way to
  385. stop this is to convince A/UX that the file is of non-TEXT type. There are
  386. many applications out there (including the A/UX included 'setfile' program)
  387. that lets you modify this. Do this before you copy the file over to your Mac OS
  388. disk and all will be Okay. If you aren't sure what the Type and Creator
  389. should be, you can just specify "BIN " and "A/UX" (note space in BIN) and
  390. the file won't be massaged during the copy|transfer. You'll still need
  391. to eventually change them to the correct ones for their particular
  392. application, but this way they'll be on your MacOS disk "uncorrupted."
  393.  
  394. Of course, you could also use 'setfile' to set the Type|Creator fields _before_
  395. you copy the file to the MacOS disk and avoid an additional step.
  396.  
  397. Please note that if you downloaded a BINHEX file, you _do_ want to keep
  398. it as a TEXT file if you transfer it over to the MacOS. Once there, you
  399. can de-BINHEX it and unStuffIt (if it was a binhexed stuffit archive).
  400.  
  401. See "Hints and Words of Wisdom" (above) for hints in using ftp file transfers
  402. under A/UX.
  403.  
  404. ===
  405. 41)  Using the command shell interface, I'm trying to access some Mac files
  406.      (that have strange names) but I can't; the program returns an error and
  407.      I can't access the file. What's going on?
  408.  
  409. The problem is that sh and csh don't understand the Mac "special" characters
  410. that are in the filenames. They don't expect filenames with characters that
  411. are represented by 8-bits. ksh is "8-bit clean" and thus would be able to
  412. access the file. For example, to remove Moire, just type:
  413.  
  414.     $ ksh           #this creates a Korn shell child
  415.     % rm M?ire      #match the weird 'o'
  416.     % exit          #get back in your old shell
  417.  
  418. You could also use emacs' DIRED or the Gnu File utilities to do this, but ksh
  419. is right here on the system so it's a bit easier. Of course, another very
  420. easy way is to use the MacOS interface and do the deletion|rename|whatever
  421. the "Mac" way. Please note that if what you are MacOS deleting is a
  422. symbolic link to a directory, what gets Trashed is actually the contents
  423. of the directory as well as the link! This is due to the fact that to
  424. the Finder, the link looks like a folder, and the entire thing gets deleted.
  425.  
  426. ===
  427. 42)  How can I reports bugs that I find?
  428.  
  429. The official E-mail address is reports@aux.support.apple.com. If you
  430. subscribe to the A/UX Technical AnswerLine, you can also use that method. The
  431. former isn't acknowledged although the latter is.
  432.  
  433. For completeness, also post the report to comp.unix.aux.
  434.  
  435. There is also a HyperCard stack called "Apple Bug Reporter" that Apple
  436. recommends using. I have a copy and can make it available via anon-ftp if
  437. there is a demand.
  438.  
  439. ===
  440. 43)  Which serial cards work under A/UX?
  441.  
  442. <<ED: the following is a posting by Alexis Rosen (alexis@panix.com) on c.u.a>>
  443.  
  444. There are three cards that "work" with A/UX. The Apple serial card is NOT one
  445. of them.
  446.  
  447. The first is Paul Campell's Taniwha CommCard. This card does indeed work with
  448. all versions of A/UX including 3.0. It has special support for UUCP. It has
  449. a few mysterious and not very important problems. It's an excellent buy. The
  450. only problem is, it's not on the market anymore. If you can get one used,
  451. though, it's worth getting. The one downside is that, like Apple's ports, it
  452. won't SIMULTANEOUSLY support modem and hardware flow control. It is immune to
  453. many of the nasty bugs which affect the built-in serial ports, including the
  454. two (at least) which can crash the kernel.
  455.  
  456. The second is the Digiboard Nu/whatever, which comes in 4 and 8 port versions.
  457. This card does not currently work well with A/UX, and has not since 2.0. It
  458. is susceptible to a variety of problems which crash the kernel, although if
  459. you use only one port, you can go for many days without dying. It can also
  460. bring down streams without crashing the kernel. A separate problem with
  461. throughput causes UUCP to fail at high (9600 or above) speeds. HOWEVER- the
  462. story is not over. The author of the drivers has been working hard to correct
  463. these problems, and I hope that they will be corrected sometime in the next
  464. two months.
  465.  
  466. <<ED: Some very good news! Brian Westley, the author of the Nu/Xi drivers,
  467.   of DigiBoard has completely rewritten the A/UX drivers, which are now
  468.   in beta test. According to Brain, the betas seem rock solid and complete
  469.   and are "much better than the current released version." He's also
  470.   attempting to add CSlip support. He also now has _real_ work-time
  471.   available to work on the drivers. If you would like the latest betas
  472.   (or just need to contact him) he has a variety of E-mail addresses:
  473.     merlyn@digibd.com
  474.     ...uunet!digibd!merlyn
  475.     AppleLink D1692
  476. >>
  477.  
  478. The 3rd is the Applied Engineering QuadraLink serial card. I have the drivers
  479. but have never had the chance to test them. However, I'm not too comfortable
  480. with the idea of using them, for two reasons. First, the author of the drivers
  481. knows fairly little about A/UX or unix in general. Second, the driver code is
  482. based on Apple code. Apple has been (at least until 3.0 comes out) completely
  483. incapable of writing serial drivers for their own hardware, so I'm not too
  484. confident in usig their code as a base for someone else's drivers. BUT!!! - 
  485. as I said, I haven't used them. And at least one person who has, has not
  486. reported trouble. So they're OK, at least for light use (which is sort of true
  487. for the Apple ports as well). I just wouldn't bet a commercial project on
  488. it.
  489.  
  490. The AE QuadraLink card, like the CommCard and the Apple ports, can't do both
  491. hardware handshaking and modem control at the same time. No hardware patch
  492. kit will be developed for the AE card...
  493.  
  494. The AE QuadraLink DMA isn't any better.
  495.  
  496. In short, there are no good serial-port solutions for A/UX. For a serious
  497. project, buy a terminal server or buy a Sun. :-(
  498.  
  499. <<ED: the following is a followup to Alexis's posting. It's from Paul Sander>>
  500.  
  501. Actually, there are four.
  502.  
  503. The fourth is the MaraThon MultiComm card from Dove.  It comes with three
  504. serial ports and a parallel port.  The first serial port is a DB-25, the
  505. second is a DB-9 (AT compatible), and the third is configurable DB-25 or
  506. RS-422.  The parallel port is also AT-compatible.  I haven't had trouble
  507. with the serial ports, though I have had only terminals connected to them.
  508. The parallel driver has an infuriating bug in which occasionally the end
  509. of a printout is lost.  (The workaround is to print a short dummy file after
  510. anything important.)  A/UX drivers come separately from the card, but they
  511. are free.
  512.  
  513. Dove's technical support is pretty poor.  When I got the card, I had them
  514. send the A/UX drivers.  When I discovered the bug, I reported it, and got
  515. an "update," which contained the exact same software (proven using cmp to
  516. compare the cpio archives on their media).  Repeated calls were either
  517. unanswered, or were not returned.  I finally gave up after some 6 months
  518. of frustration.  To make the story complete, they used to have an 800
  519. number for technical support, but it was discontinued 3 months into this
  520. saga.
  521.  
  522. ===
  523. 44)  I heard the the Installer for 3.0 works on "any" 3rd party hard disk.
  524.      Well, it doesn't on mine!
  525.  
  526. Well, the Installer will work with any 3rd party disk but there are a few
  527. wrinkles... The HD Setup application in the 3.0 Installer is unique in that
  528. not only does it create A/UX partitions but it also creates the actual file
  529. systems in those partitions (basically it runs 'newfs'). Now if you have
  530. used some other HD utility program (such as SilverLining or FWB HDT) to
  531. create the partitions and then attempt to install A/UX on that disk, the
  532. Installer sees that the partitions are there and then _assumes_ that they
  533. were created by HD Setup and therefore have the file systems already created.
  534. Of course, the file systems don't exist yet, just the partitions, so the
  535. installation fails.
  536.  
  537. You have a few options:
  538.  
  539.  a. Run the Installer on a newly formatted disk. This means that HD Setup
  540.     will do all the partitioning (etc...) and the installation will
  541.     proceed. Note that this means you will be "stuck" with the Apple drivers
  542.     whenever you are in the _real_ MacOS Finder.
  543.  
  544.  b. If you want to use the drivers on your HD utility (for stuff like,
  545.     maybe, password protection of partitions) then you have two (maybe
  546.     three )additional options:
  547.  
  548.    i. Use 'a' above to install A/UX. Then use your HD utility program to
  549.       "take over" the disk, disabling (or even removing) the Apple drivers
  550.       and installing it's own. Note that if there isn't enough space to
  551.       install it's drivers, most will attempt to "shrink" the MacOS
  552.       partition to make room. Most can do this with no problem, but why
  553.       take the risk... when you partition the disk, leave about 64K
  554.       available as free space.
  555.  
  556.   ii. Use your HD utility to create the partitions. Then, before you
  557.       run the Installer, run 'newfs' "by hand" to create the file systems
  558.       so that the installation can proceed.
  559.  
  560.  iii. Use your HD utility to format (etc...) your disk and create
  561.       _only_ the MacOS partition. Now run the Installer. In most cases
  562.       HD Setup will work fine with the driver installed on the disk.
  563.       You can now use it to create the A/UX partitions.
  564.  
  565.       <<ED: I _know_ this (iii) works with FWH HDT 1.1.x>>
  566.  
  567. ===
  568. 45)  I'm using a LaserWriter IIg with A/UX 3.0 and whenever I print some-
  569.      thing to it through 'lpr', the first line of the page is cut off. Why?
  570.  
  571. This only shows up on versions of the IIg (and IIf) with less than 5MB RAM.
  572. The reason is because this makes the LW default to PhotoGrade-mode. You can do
  573. 2 things to fix this:
  574.  
  575.     1. Using the LaserWriter Utility program, disable PhotoGrade.
  576.        Since one of the main advantages of these LW's is PhotoGrade,
  577.        this option is kinda unpalatable.
  578.  
  579.     2. If you are _only_ using "Letter" mode under 'lpr', then you
  580.        can edit /usr/lib/ps/pstext.pro to include the following line
  581.        between "% RCSID:..." and "/StartPage...":
  582.  
  583.        %!PS-Adobe-1.0
  584.        % Z%Copyright Apple Computer 1987\tVersion 1.1 of pstext.pro on\
  585.          87/05/04 19:02:25
  586.        %%Creator: pstext
  587.        %%DocumentFonts: Courier
  588.        % RCSID: $Header: pstext.pro,v 2.1 85/11/24 12:19:55 shore Rel $
  589.  =====>>>>>letter 
  590.        /StartPage{/sv save def 48 760 moveto}def
  591.  
  592. This will fix the problem and make it usable again.
  593.  
  594. ===
  595. 46)  Whenever I try to run xinit (or startx) from the CommandShell I get
  596.      a fatal server error. Why?
  597.  
  598. The reason why is because both X and the CommandShell want _complete_ control
  599. over your Mac (display, keyboard and mouse). So, when you try to start one
  600. while running the other, you'll get into trouble. You need to start X either
  601. from the Console Emulator Mode or by choosing it as your "session type" from
  602. the Login screen (This session type will be available only if your installed
  603. Apple's X or have installed John Coolidge's 'sessiontypes' for X11R5).
  604.  
  605. ===
  606. 47)  I'm trying to access my tape drive using 'tc' (with something like
  607.      "find . -print | cpio -o > /dev/rmt/tc1") but it doesn't work...
  608.  
  609. Except for 9-track magtapes, all I/O to tape drives associated with the
  610. 'tc' device files _must_ be blocked at 8k. The 'tcb' program does just
  611. that so that should be included. For example, to write:
  612.  
  613.     $ find . -print | cpio -o | tcb > /dev/rmt/tc1
  614.  
  615. And to read:
  616.  
  617.     $ tcb < /dev/rmt/tc1 | cpio -i
  618.  
  619. You can get better performance if you increase the buffer size (just make
  620. sure that it's a multiple of 8k). For example, you could use 'dd' as
  621. your blocking filter with a 'bs=10x8k'.
  622.  
  623. Jim Jagielski's replacement for 'tc' allows for 'tc' to use the
  624. tape drive's own physical block size as the logical block size
  625. for I/O. Doing so results in a noticeable performance hit and it
  626. isn't recommended for normal use. Use the "mode" _ONLY_ if you
  627. need to read tapes written by 'st' or by another platform. Please
  628. note you are still limited to an I/O block size of at least the
  629. physical block size, which can be anything for 512 to 1024 to 8192 bytes.
  630.  
  631. |'tc' 3.12 can also emulate variable block lengths (which A/UX's SCSI
  632. Manager doesn't support). Doing so results in a _huge_ performance
  633. hit since the drive must handshake on the transfer of each byte. This
  634. mode is only included to help in reading/writing tapes that will be used
  635. on other platforms.
  636.  
  637. %%% For more information about 'tc', please contact Jim via E-mail %%%
  638.  
  639. ===
  640. 48)  What CD-ROM drives are compatible with A/UX 3.0?
  641.  
  642. Of course, the Apple CD-ROM drive is 100% compatible with A/UX. The following
  643. are also known to be 100% compatible (meaning you can use them to install
  644. A/UX as well as when running A/UX):
  645.  
  646.     The Toshiba XM3201B and XM3301B
  647.     DEC RRD42
  648.     Sun CD-ROM (Sony CDU-8012?)
  649.     CD-Technologies Porta-Drive CD-ROM
  650.     Chinon CDA-431
  651.  
  652. ===
  653. 49)  Do I install CDEVs and Extensions in the System Folder on MacPartition
  654.      or on the "/" A/UX disk.
  655.  
  656. To install these additions to A/UX, you will need to drag-copy them over
  657. to the A/UX System Folder. Usually, this is /mac/sys/System Folder on
  658. the "/" disk but it will also "appear" in your "home folder" icon.
  659.  
  660. ===
  661. 50)  I heard that A/UX requires a special version of System 7 to boot...
  662.      Is this true?
  663.  
  664. A lot of people believe this but this is not true. There is no difference
  665. between the s/w on the MacPartition partition and the "real" System 7.
  666. The only _real_ need for MacPartition is that the disk where A/UX Startup
  667. lives is where A/UX Startup looks for the A/UX Root partition. When A/UX
  668. Startup launches, it looks at "it's" disk and then looks for A/UX partitions
  669. on that disk. This means that you _don't_ need to boot-up from the
  670. MacPartition disk to boot A/UX. Start your Mac from your standard Startup
  671. disk and just double-click on A/UX Startup on the MacPartition icon.
  672.  
  673. You can even do without the MacPartition disk but telling A/UX Startup
  674. the exact SCSI number of the A/UX disk. You can do this a couple of ways:
  675.  
  676.     1. create a ROOT variable in A/UX Startup that points to the
  677.        root partition in this form: (SCSI-ID, 0, 0)
  678.  
  679.     2. Under the General Preferences menu, change the Root Directory
  680.        to (SCSI-ID, 0, 0).
  681.  
  682. The "device" file /dev/default points to the SCSI-ID of whatever disk is the
  683. MacPartition disk, so if you don't have one, you need to tell A/UX Startup
  684. it's "real" name. This is kinda messy since you'll need to preface a lot
  685. of stuff with this value: e.g.
  686.  
  687.     #startup cat (6,0,0)/etc/inittab
  688.  
  689. ===
  690. 51)  I've tried to install the CD Remote extension to A/UX so that
  691.      I can play audio CD's, but it doesn't work...
  692.  
  693. At present, A/UX will not allow you to play your audio CD's on a CD-ROM
  694. drive, so don't attempt to install the CD Remote extension (see below #52).
  695.  
  696. ===
  697. 52)  What CD-ROM formats does A/UX support?
  698.  
  699. A/UX supports ISO file system format CD-ROMs. The catch is that A/UX only
  700. supports ISO in the MacOS mode (i.e. you can't 'mount' the CD-ROM as an
  701. UNIX file system). To allow this, you'll need to copy 3 Mac files to
  702. the System Folder that's active when you want to use ISO CD-ROMs. The files,
  703. which must be obtained from the Apple CD-ROM Software Disk (vers. 3.2 or
  704. later) are: ISO 9660 File Access, High Sierra File Access and Foreign
  705. File Access (the latter is an Extension). Logging out of the MacOS mode
  706. and then logging back in will "complete" the installation. Do _not_
  707. install the Apple CD-ROM extension, since it is built into A/UX.
  708.  
  709. Again, please note that A/UX will not recognize _any_ of the audio
  710. capability of CD-ROMs.
  711.  
  712. ===
  713. 53)  How can I add printers other than those available via the Chooser?
  714.  
  715. <<ED: From a post by Antonio Ordonex (antonio@apple.com)>>
  716.  
  717. If the printer is in another zone, it is necessary to define the zone in
  718. which the printer is located with a full path name.  You can then
  719. "hardwire" a printer name including the zone for a particular printer
  720. queue.
  721.  
  722. The best way to do this is to make a copy the /usr/spool/lpd/AppleTalk
  723. directory and give it a name related to the printer we want to use. Modify
  724. the file ifilter/ofilter/nfilter  (it is the same file with 3 hard links)
  725. in this directory. Also modyfy the /etc/printcap file to create a new
  726. printer queue.
  727.  
  728. I will use my system as an example so please modify to reflect your
  729. situation.
  730.  
  731. The first thing to do is to create the new directory and put the correct
  732. files in it. NOTE that I am using mknod to create the pipe file.
  733.  
  734. mkdir Idaho
  735. chown daemon Idaho
  736. chgrp daemon Idaho
  737. cp AppleTalk/ifilter Idaho/ifilter
  738. cd Idaho
  739. ln ifilter ofilter
  740. ln ofilter nfilter
  741. mknod pipe p
  742. chown daemon *
  743. chgrp daemon *
  744.  
  745. In my case I have a printer called "Idaho Spooler" in the zone "SCV CAM2
  746. 2nd W"  while my system is on the zone "SCV CAM2 2nd E", so all I do is to
  747. modify the /usr/spool/lpd/Idaho/ifilter file (you can use vi or
  748. TextEditor)
  749. and change the line that defines the value for Printer from
  750.  
  751. Printer=`basename "cwd"`
  752.     -to-
  753. Printer="Idaho Spooler:LaserWriter@SCV CAM2 2nd W"
  754.  
  755. In the /etc/printcap file I copy the entry for AppleTalk (all six lines)
  756. and change any reference to AppleTalk to the name I used for my new
  757. directory. Again, in my case I used "Idaho" as the directory name so my
  758. /etc/printcap file looks like
  759.  
  760. #
  761. # pragma ident "@(#)lpr:printcap        5.4 90/03/27 "
  762. #
  763. # Copyright 1990 Apple Computer, Inc.
  764. # All Rights Reserved.
  765. ##
  766. # Remote AppleTalk printer (selected by Chooser)
  767. # For an AppleTalk printer which doesn't support PostScript remove last 2
  768. names.
  769. lp|at|AppleTalk|postscript|PostScript:\
  770.         :lp=/dev/null:\
  771.         :if=/usr/spool/lpd/AppleTalk/ifilter:\
  772.         :of=/usr/spool/lpd/AppleTalk/ofilter:\
  773.         :nf=/usr/spool/lpd/AppleTalk/nfilter:\
  774.         :sd=/usr/spool/lpd/AppleTalk:
  775. lp2|Idaho:\
  776.         :lp=/dev/null:\
  777.         :if=/usr/spool/lpd/Idaho/ifilter:\
  778.         :of=/usr/spool/lpd/Idaho/ofilter:\
  779.         :nf=/usr/spool/lpd/Idaho/nfilter:\
  780.         :sd=/usr/spool/lpd/Idaho:
  781.  
  782. After all these steps are completed restart the printer queue with the
  783. command 
  784.  
  785. lpc restart all
  786.  
  787. Now you should be able to send a print job to the printer in the other
  788. zone
  789. with the command
  790.  
  791. lpr -Plp2 /etc/passwd
  792.  
  793. or
  794.  
  795. lpr -PIdaho /etc/passwd
  796.  
  797. Hope this helps
  798.  
  799. ===
  800. 54)  After the Mac environment crashes (or when I use MacsBug), the
  801.      Desktop gets all screwed up... Argg!!
  802.  
  803. Ron Flax of Apple (ron@afsg.apple.com) has written a very useful System
  804. Extension called FMbackup that creates backup copies of "valuable" Desktop
  805. files. When the MacOS-mode is entered, FMbackup restores these files. Thus,
  806. when your MacOS "crashes", you no longer need to rebuild the Desktop
  807. or reset all your Icons, window "types", etc... Please note that there
  808. seems to be some incompatibilty between FMbackup and Moire and
  809. QuickMail 2.5.1.
  810.  
  811. FMbackup (1.0.4) is available via anon-ftp on afsg.apple.com as well as
  812. aux.support.apple.com (in "unsupported").
  813.  
  814. %%% For more information about "FMbackup", please contact Ron via E-mail %%%
  815.  
  816. ==
  817. 55)  My MacOS partition(s) only show up on the Desktop when I login
  818.      as root. Why?
  819.  
  820. Under the Preferences/General Menu of A/UX Startup, there is a radio-box
  821. called "Password checking". This is intended to provide some security for
  822. the A/UX Startup application. When enabled, two (default) things happen:
  823.  
  824.     1. A/UX Startup requires a password to open.
  825.     2. MacOS partition(s) are only mounted for root login.
  826.  
  827. Thus, to enable MacOS partition(s) to be available for all users, you must
  828. disable "Password checking". See auxstartuprc(4) for more info.
  829.  
  830. ==
  831. 56)  For some reason, my CommandShell only responds to a keyboard
  832.      event after it receives a second event. For example, typing "a"
  833.      won't show until I type something else or click the mouse.
  834.      What gives?
  835.  
  836. +This is caused almost 99% of the time by an Extension|CDEV conflict. The
  837. +way around this is to selectively disable each one at a time and see which
  838. +one causes the problem... then delete it. "Wild Magic" is prone to do this
  839. +as are older versions of CEToolbox.
  840.  
  841. ==
  842. //////////////////////  END OF PART 2 OF 2  \\\\\\\\\\\\\\\\\\\\\\
  843.  
  844.  
  845. -- 
  846.     Jim Jagielski               | "It is not I who am crazy...
  847.     jim@jagubox.gsfc.nasa.gov   |  it is I who am MAD!"
  848.     NASA/GSFC, Code 734.4       |
  849.     Greenbelt, MD 20771         |            - Ren
  850.